package com.plate.common.core.constants;

/**
 * @ClassName SysConstant
 * @Description TODO
 * @Author jiaxd
 * @Date 2023年10月22日 18:53
 * @Version 1.0
 */

public interface SysConstant {

    /**
     * 权限<->url对应的KEY
     */
    public final static String OAUTH_URLS="oauth2:oauth_urls";

    /**
     * JWT令牌黑名单的KEY
     */
    public final static String JTI_KEY_PREFIX="oauth2:black:";

    /**
     * 角色前缀
     */
    public final static String ROLE_PREFIX="ROLE_";

    public final static String METHOD_SUFFIX=":";

    public final static String ROLE_ROOT_CODE="ROLE_admin123";

    String PASSWORD = "password";

}
